package com.fangyang.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.fangyang.domain.User;

public interface UserRepository extends JpaRepository<User, Integer> {

    User findByUsernameAndPassword(String username, String password);

}
